<?php

class MenuSNAP extends Menu
{

	public function __Construct($all)
	{
		$MenuItems = array();
		if($all)
		{
			$MenuItems[] = new MenuItem("Home","Home");
			$MenuItems[] = new MenuItem("List Events","ListEventsList");
			$MenuItems[] = new MenuItem("Diary","ListEventsDiary");
			$MenuItems[] = new MenuItem("Messages","Messages");
			$MenuItems[] = new MenuItem("Help","Help");
		}
		$MenuItems[] = new MenuItem("Logoff","Logoff");
//		$MenuItems[] = new MenuItem("Event Report","EventReport");
		$this->setMenuItems($MenuItems);
	}
	
}

?>